home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / PixelWorld classes 1.2 / About PixelWorld classes next >
Encoding:
Text File  |  1994-11-30  |  4.1 KB  |  63 lines  |  [ttro/ttxt]

  1.        •••••••••••••••••••••••••••••••••••••••••••••••••••
  2.                                        The PixelWorld Classes
  3.  
  4.                                                  Version 1.2
  5.                                               June 15, 1992
  6.                                            Vincent R. Vann, Jr.
  7.        •••••••••••••••••••••••••••••••••••••••••••••••••••
  8.        
  9.  
  10. 1) Description
  11.  
  12. The "PixelWorld classes 1.2.cpt" archive contains THINK C 5.0 source code for two new classes that can be used as part of the standard THINK Class Library 1.x.x.  
  13.  
  14. The CPixelWorld class is a subclass of CBitMap designed to maintain a color or grayscale offscreen drawing environment using standard Color QuickDraw.  An offscreen color graphics device (GDevice) and an offscreen color graphics port (CGrafPort) are used to maintain this offscreen world.  This implementation supports 1,2,4 and 8 bit pixel depths.  Pixel depths of 16 and 32 bits are not currently supported.  
  15.  
  16. The CPixelWorldPane class is a subclass of CPanorama that displays a color or grayscale image that is maintained offscreen by a CPixelWorld object.  
  17.  
  18. *** Note:  This implementation does not depend upon any 32-Bit QuickDraw features.  Future versions of the PixelWorld classes will provide support for 16 and 32 bit pixel depths, and for GWorlds under 32-Bit QuickDraw.  
  19.  
  20.  
  21. 2) Contents/Installation
  22.  
  23. After expanding the "PixelWorld classes 1.2.cpt" archive you should have a folder called "PixelWorld classes 1.2" that contains the following seven files:
  24.  
  25.                 /* The TeachText document you are reading*/
  26.     1.    About PixelWorld classes
  27.  
  28.                 /* The PixelWorld class source & info files */
  29.     2.  CPixelWorld.c
  30.     3.  CPixelWorld.h
  31.     4.  CPixelWorld.info
  32.  
  33.                 /* The PixelWorldPane class source & info files*/
  34.     5.  CPixelWorldPane.c
  35.     6.  CPixelWorldPane.h
  36.     7.  CPixelWorldPane.info
  37.  
  38. You can place the "PixelWorld classes 1.2" folder anywhere in the THINK C directory tree.  However, I recommend that you place it inside the "THINK Class Library 1.x.x" folder along with the standard TCL classes so that the PixelWorld source files can be found easily.  
  39.  
  40.  
  41. 3) Help/Information
  42.  
  43. Please, feel free to contact me by regular mail or E-mail.  The best/fastest way to contact me is by sending E-mail to the internet address below:*  
  44.  
  45.     Author:            Vincent R. Vann, Jr.
  46.     Address:          1901 Brickell Ave, B-410, Miami, FL 33129 (USA)
  47.     Internet:*        vvann@umbio.med.miami.edu
  48.     Compuserve:    76530,1242
  49.  
  50. I welcome any questions, comments, or criticisms concerning the PixelWorld classes.  If you choose to modify or make improvements to either of these classes, please notify me about your improvements and send me the modied source code.  I will try to include your modifications in an updated version of the PixelWorld classes.  
  51.  
  52.  
  53. 5) License Agreement
  54.  
  55. All portions of this source code are property of Vincent R. Vann, Jr.  I, Vincent R. Vann, Jr., grant you the right to freely distribute this source code and to use all or part of this source code in all software including commercial, freeware, shareware and private applications.  However, all software that uses any part of or all of this source code must display a copyright notice indicating that either all of or portions of this source code are used in the software.  I also grant you permission to alter and make improvements to this source code, but only if all modifications are returned to me by whatever means are available, either in written or electronic form.  You must also accept that I retain the right to include any part of your modifications or all of your modifications in future releases of this source code.  The description and version history sections in the *.info files may be ammended for documentation purposes.  This license agreement and the copyright notice below must be maintained intact and must be included with all distributions of this source code at all times.  
  56.  
  57. 6) Copyright Notice
  58.  
  59. This implementation is based in part on material copyrighted by Symantec Corporation and Apple Computer, Inc.  
  60.  
  61. Copyright © 1992 Vincent R. Vann, Jr.  All rights reserved.  
  62.  
  63.